package com.industrial.operation.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.industrial.operation.mapper.OperationFocusProductMapper;
import com.industrial.operation.domain.OperationFocusProduct;
import com.industrial.operation.service.IOperationFocusProductService;

/**
 * 重点产品调度Service业务层处理
 * 
 * @author ZhouS
 * @date 2024-01-18
 */
@Service
public class OperationFocusProductServiceImpl implements IOperationFocusProductService 
{
    @Autowired
    private OperationFocusProductMapper operationFocusProductMapper;

    /**
     * 查询重点产品调度
     * 
     * @param baseId 重点产品调度主键
     * @return 重点产品调度
     */
    @Override
    public OperationFocusProduct selectOperationFocusProductByBaseId(String baseId)
    {
        return operationFocusProductMapper.selectOperationFocusProductByBaseId(baseId);
    }

    /**
     * 查询重点产品调度列表
     * 
     * @param operationFocusProduct 重点产品调度
     * @return 重点产品调度
     */
    @Override
    public List<OperationFocusProduct> selectOperationFocusProductList(OperationFocusProduct operationFocusProduct)
    {
        return operationFocusProductMapper.selectOperationFocusProductList(operationFocusProduct);
    }

    /**
     * 新增重点产品调度
     * 
     * @param operationFocusProduct 重点产品调度
     * @return 结果
     */
    @Override
    public int insertOperationFocusProduct(OperationFocusProduct operationFocusProduct)
    {
        return operationFocusProductMapper.insertOperationFocusProduct(operationFocusProduct);
    }

    /**
     * 修改重点产品调度
     * 
     * @param operationFocusProduct 重点产品调度
     * @return 结果
     */
    @Override
    public int updateOperationFocusProduct(OperationFocusProduct operationFocusProduct)
    {
        return operationFocusProductMapper.updateOperationFocusProduct(operationFocusProduct);
    }

    /**
     * 批量删除重点产品调度
     * 
     * @param baseIds 需要删除的重点产品调度主键
     * @return 结果
     */
    @Override
    public int deleteOperationFocusProductByBaseIds(String[] baseIds)
    {
        return operationFocusProductMapper.deleteOperationFocusProductByBaseIds(baseIds);
    }

    /**
     * 删除重点产品调度信息
     * 
     * @param baseId 重点产品调度主键
     * @return 结果
     */
    @Override
    public int deleteOperationFocusProductByBaseId(String baseId)
    {
        return operationFocusProductMapper.deleteOperationFocusProductByBaseId(baseId);
    }
}
